#ifndef FACTORY_H_INCLUDED
#define FACTORY_H_INCLUDED

#include "types.h"
#include "datastream.h"

template <class T>
class Factory
{
    public:
        static void* allocate(size_t size) { return malloc(size); }
        static void release(void* data) { free(data); }
};

#endif // FACTORY_H_INCLUDED
